package com.srs.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Tables {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer status;

    private Integer maxNum;

    private String remark; // 餐桌的位置可以放这里

    public Tables(Integer id, Integer status, Integer maxNum, String remark) {
        this.id = id;
        this.status = status;
        this.maxNum = maxNum;
        this.remark = remark;
    }
}
